var e = require("../../@babel/runtime/helpers/defineProperty");

Component({
    properties: {
        order: {
            type: Object
        }
    },
    data: {
        total: [],
        discount: [],
        actual: []
    },
    methods: {
        select: function() {
            this.setData(e({}, "order.select", !this.properties.order.select)), this.triggerEvent("select", {
                orderId: this.properties.order.orderId,
                select: this.properties.order.select
            });
        },
        toCheck: function() {
            wx.navigateTo({
                url: "/pages/logistics-details/logistics-details?orderId=".concat(this.properties.order.orderId)
            });
        },
        showGet: function() {
            this.triggerEvent("showGet", {
                orderId: this.properties.order.orderId
            });
        },
        toOrderDetails: function() {
            wx.navigateTo({
                url: "/pages/order_details/order_details?orderId=".concat(this.properties.order.orderId)
            });
        }
    }
});